home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Programming Contest / ~Solutions Submitted / Problem 03 - Guiness / Solution.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-19  |  435 b   |  29 lines  |  [TEXT/CWIE]

  1. #ifndef __SOLUTION_H__
  2. #define __SOLUTION_H__
  3.  
  4. // Do not modify this file
  5.  
  6. #include <MacTypes.h>
  7. #include <Files.h>
  8.  
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif // __cplusplus
  12.  
  13. typedef struct Node {
  14.     SInt32 xCoord;
  15.     SInt32 yCoord;
  16. } Node;
  17.  
  18. pascal void Perimeter(
  19.     UInt32 numHomes,
  20.     const Node homesToEnclose[],
  21.     UInt32 *numNodesInPerimeter,
  22.     UInt32 nodesInPerimeter[]
  23. );
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif // __cplusplus
  28.  
  29. #endif // __SOLUTION_H__